.img-animation img{
  
  transition: opacity 0.5s ease-in-out;
}
.img-animation{
  transition: transform 0.5s ease-in-out;
}
/* @keyframes slide-animation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
} */

/* .img-animation img:first-child {
  animation-fill-mode: forwards;
}

.img-animation img:last-child {
  animation-fill-mode: forwards;
} */